export const menuList = [
    {
        id: 26,
        name: "首页",
        icon: "icow icow-homeL",
        sort: 10,
        pid: 0,
        route: "/home",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 68,
                name: "控制台",
                icon: null,
                sort: 0,
                pid: 26,
                route: "/controlBooth",
                is_show: 1,
                type: 1, //1是菜单，2是按钮
            },

        ]
    },
    {
        id: 1,
        name: "系统管理",
        icon: "icow icow-sysset",
        sort: 9,
        pid: 0,
        route: "/system",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 2,
                name: "角色管理",
                icon: null,
                sort: 0,
                pid: 1,
                route: "/role",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 111,
                        name: "角色添加",
                        icon: null,
                        sort: 0,
                        pid: 2,
                        route: "roleAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 112,
                        name: "分配权限",
                        icon: null,
                        sort: 0,
                        pid: 2,
                        route: "assignPermissions",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 113,
                        name: "查看权限",
                        icon: null,
                        sort: 0,
                        pid: 2,
                        route: "getPermissions",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 114,
                        name: "角色修改",
                        icon: null,
                        sort: 0,
                        pid: 2,
                        route: "editRole",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 115,
                        name: "角色删除",
                        icon: null,
                        sort: 0,
                        pid: 2,
                        route: "removeRole",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 3,
                name: "管理员管理",
                icon: null,
                sort: 0,
                pid: 1,
                route: "/administrators",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 116,
                        name: "管理员添加",
                        icon: null,
                        sort: 0,
                        pid: 3,
                        route: "adminAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 117,
                        name: "分配角色",
                        icon: null,
                        sort: 0,
                        pid: 3,
                        route: "assignRole",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 118,
                        name: "管理员编辑",
                        icon: null,
                        sort: 0,
                        pid: 3,
                        route: "editAdmin",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 119,
                        name: "管理员删除",
                        icon: null,
                        sort: 0,
                        pid: 3,
                        route: "removeAdmin",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 4,
                name: "操作日志",
                icon: null,
                sort: 0,
                pid: 1,
                route: "/OperationLog",
                is_show: 1,
                type: 1
            },
            {
                id: 25,
                name: "基础设置",
                icon: null,
                sort: 0,
                pid: 1,
                route: "/set",
                is_show: 1,
                type: 1
            }
        ]
    },
    {
        id: 5,
        name: "设备管理",
        icon: "icow icow-cengji",
        sort: 8,
        pid: 0,
        route: "/device",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 6,
                name: "售货机",
                icon: null,
                sort: 0,
                pid: 5,
                route: "/vendingMachine",
                is_show: 1,
                type: 1,
                // children: [
                //     {
                //         name: "添加售货机",
                //         id: 80,
                //         icon: null,
                //         sort: 0,
                //         pid: 6,
                //         route: "/vendingMachine",
                //         is_show: 1,
                //         type: 1,
                //     }
                // ]
                children: [
                    {
                        id: 120,
                        name: "设备添加",
                        icon: null,
                        sort: 0,
                        pid: 6,
                        route: "deviceAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 121,
                        name: "设备详情",
                        icon: null,
                        sort: 0,
                        pid: 6,
                        route: "deviceDetails",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 122,
                        name: "设备编辑",
                        icon: null,
                        sort: 0,
                        pid: 6,
                        route: "deviceEdit",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 123,
                        name: "设备删除",
                        icon: null,
                        sort: 0,
                        pid: 6,
                        route: "deviceRemove",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 7,
                name: "日志",
                icon: null,
                sort: 0,
                pid: 5,
                route: "/log",
                is_show: 1,
                type: 1,
            },
            {
                id: 50,
                name: "sim",
                icon: null,
                sort: 0,
                pid: 5,
                route: "/sim",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 124,
                        name: "sim添加",
                        icon: null,
                        sort: 0,
                        pid: 50,
                        route: "simAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 125,
                        name: "sim删除",
                        icon: null,
                        sort: 0,
                        pid: 50,
                        route: "simRemove",
                        is_show: 1,
                        type: 2,
                    },
                ]
            }
        ]
    },
    {
        id: 8,
        name: "商品管理",
        icon: "icow icow-goods",
        sort: 7,
        pid: 0,
        route: "/commodity",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 65,
                name: "商品列表",
                icon: null,
                sort: 3,
                pid: 8,
                route: "/list",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 149,
                        name: "商品添加",
                        icon: null,
                        sort: 0,
                        pid: 65,
                        route: "goodsAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 126,
                        name: "商品删除",
                        icon: null,
                        sort: 0,
                        pid: 65,
                        route: "goodsRemove",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 127,
                        name: "商品编辑",
                        icon: null,
                        sort: 0,
                        pid: 65,
                        route: "goodsEdit",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 128,
                        name: "商品详情",
                        icon: null,
                        sort: 0,
                        pid: 65,
                        route: "goodsDetali",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 129,
                        name: "商品导出",
                        icon: null,
                        sort: 0,
                        pid: 65,
                        route: "goodsExport",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 9,
                name: "视觉商品",
                icon: null,
                sort: 2,
                pid: 8,
                route: "/myData",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 132,
                        name: "视觉商品添加",
                        icon: null,
                        sort: 0,
                        pid: 9,
                        route: "visionGoodsAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 133,
                        name: "视觉商品删除",
                        icon: null,
                        sort: 0,
                        pid: 9,
                        route: "visionGoodsRemove",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 134,
                        name: "视觉商品编辑",
                        icon: null,
                        sort: 0,
                        pid: 9,
                        route: "visionGoodsEdit",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 135,
                        name: "视觉商品详情",
                        icon: null,
                        sort: 0,
                        pid: 9,
                        route: "visionGoodsDetali",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 136,
                        name: "视觉商品导出",
                        icon: null,
                        sort: 0,
                        pid: 9,
                        route: "visionGoodsExport",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 10,
                name: "商品分类",
                icon: null,
                sort: 1,
                pid: 8,
                route: "/classification",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 130,
                        name: "商品分类添加",
                        icon: null,
                        sort: 0,
                        pid: 10,
                        route: "classAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 150,
                        name: "商品分类编辑",
                        icon: null,
                        sort: 0,
                        pid: 10,
                        route: "classEdit",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 131,
                        name: "商品分类删除",
                        icon: null,
                        sort: 0,
                        pid: 10,
                        route: "classRemove",
                        is_show: 1,
                        type: 2,
                    },
                ]
            }
        ]
    },
    {
        id: 11,
        name: "会员管理",
        icon: "icow icow-member",
        sort: 6,
        pid: 0,
        route: "/member",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 12,
                name: "会员列表",
                icon: null,
                sort: 0,
                pid: 11,
                route: "/memberList",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 151,
                        name: "会员详情",
                        icon: null,
                        sort: 0,
                        pid: 12,
                        route: "memberDetali",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 137,
                        name: "会员订单",
                        icon: null,
                        sort: 0,
                        pid: 12,
                        route: "memberOrder",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 138,
                        name: "会员维权",
                        icon: null,
                        sort: 0,
                        pid: 12,
                        route: "memberStatus",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
        ]
    },
    {
        id: 14,
        name: "订单管理",
        icon: "icow icow-order",
        sort: 5,
        pid: 0,
        route: "/order",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 15,
                name: "订单列表",
                icon: null,
                sort: 0,
                pid: 14,
                route: "/orderList",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 139,
                        name: "订单详情",
                        icon: null,
                        sort: 0,
                        pid: 15,
                        route: "orderDetali",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 140,
                        name: "订单导出",
                        icon: null,
                        sort: 0,
                        pid: 15,
                        route: "orderExport",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 141,
                        name: "订单维权",
                        icon: null,
                        sort: 0,
                        pid: 15,
                        route: "orderStatus",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 16,
                name: "维权列表",
                icon: null,
                sort: 0,
                pid: 14,
                route: "/status",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 142,
                        name: "维权成功",
                        icon: null,
                        sort: 0,
                        pid: 16,
                        route: "successStatus",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 143,
                        name: "维权失败",
                        icon: null,
                        sort: 0,
                        pid: 16,
                        route: "errorStatus",
                        is_show: 1,
                        type: 2,
                    },
                ]
            }
        ]
    },
    {
        id: 17,
        name: "数据统计",
        icon: "icow icow-statistics",
        sort: 4,
        pid: 0,
        route: "/data",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 19,
                name: "商品统计",
                icon: null,
                sort: 0,
                pid: 17,
                route: "/goods",
                is_show: 1,
                type: 1,
            }
        ]
    },
    {
        id: 21,
        name: "商家管理",
        icon: "icow icow-statistics",
        sort: 3,
        pid: 0,
        route: "/business",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 22,
                name: "商家列表",
                icon: null,
                sort: 0,
                pid: 21,
                route: "/businessList",
                is_show: 1,
                type: 1,
            },
            {
                id: 24,
                name: "设置",
                icon: null,
                sort: 0,
                pid: 21,
                route: "/setup",
                is_show: 1,
                type: 1,
            }
        ]
    },
    {
        id: 55,
        name: "财务管理",
        icon: "icow icow-31",
        sort: 2,
        pid: 0,
        route: "/finance",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 56,
                name: "商家提现",
                icon: null,
                sort: 0,
                pid: 55,
                route: "/MerchantWithdrawal",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 144,
                        name: "提现成功",
                        icon: null,
                        sort: 0,
                        pid: 56,
                        route: "withdrawalSuccess",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 145,
                        name: "提现失败",
                        icon: null,
                        sort: 0,
                        pid: 56,
                        route: "withdrawalError",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 57,
                name: "资金明细",
                icon: null,
                sort: 0,
                pid: 55,
                route: "/FundDetails",
                is_show: 1,
                type: 1,
            },
            {
                id: 66,
                name: "银行卡",
                icon: null,
                sort: 0,
                pid: 55,
                route: "/BankCard",
                is_show: 1,
                type: 1,
            }
        ]
    },
    {
        id: 27,
        name: "开发",
        icon: "icow icow-goods",
        sort: 1,
        pid: 0,
        route: "/develop",
        is_show: 1,
        type: 1,
        children: [
            {
                id: 28,
                name: "菜单配置",
                icon: null,
                sort: 0,
                pid: 27,
                route: "/meun",
                is_show: 1,
                type: 1,
                children: [
                    {
                        id: 146,
                        name: "菜单添加",
                        icon: null,
                        sort: 0,
                        pid: 28,
                        route: "menuAdd",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 147,
                        name: "菜单编辑",
                        icon: null,
                        sort: 0,
                        pid: 28,
                        route: "menuEdit",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 152,
                        name: "菜单详情",
                        icon: null,
                        sort: 0,
                        pid: 28,
                        route: "menuDetali",
                        is_show: 1,
                        type: 2,
                    },
                    {
                        id: 148,
                        name: "菜单删除",
                        icon: null,
                        sort: 0,
                        pid: 28,
                        route: "menuRemove",
                        is_show: 1,
                        type: 2,
                    },
                ]
            },
            {
                id: 62,
                name: "设置",
                icon: null,
                sort: 0,
                pid: 27,
                route: "/setConfig",
                is_show: 1,
                type: 1,
            }
        ]
    }
]